package cn.aws360.boot.base.api.pojo.properties;

import cn.aws360.boot.base.api.constant.BaseConstant;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author junnan
 */
@Data
@ConfigurationProperties(prefix = BaseConstant.APP + ".app")
public class AppProperties {

    @Value("${name:AWS}")
    private String name;

    @Value("${author:junnan}")
    private String author;

    @Value("${domain:localhost}")
    private String domain;

    @Value("${version:1.0.0}")
    private String version;

}
